package com.v2.k25;


import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * 测试事务2
 */
public class Test {

	public static void main(String[] args) {

		AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(AppConfig.class);

		TransactionAnnotationService transactionAnnotationService =
				(TransactionAnnotationService)applicationContext.getBean("transactionAnnotationService");

		transactionAnnotationService.test();

	}

}
